/*
 * Copyright (c) 2011, okazoh_tk. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *  - Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 *  - Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 *  - Neither the name of the copyright holder nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef ALKES_KEY_EVENT_H_INCLUDED_
#define ALKES_KEY_EVENT_H_INCLUDED_

#include "alkes/internal.h"

namespace alkes {

enum VirtualKeyEvent
{
    AL_VK_LBUTTON   = 0x01,
    AL_VK_RBUTTON   = 0x02,
    AL_VK_MBUTTON   = 0x04,

    AL_VK_BACK      = 0x08,
    AL_VK_TAB       = 0x09,
    AL_VK_ENTER     = 0x0D,
    AL_VK_SHIFT     = 0x10,
    AL_VK_CONTROL   = 0x11,
    AL_VK_ALT       = 0x12,
    AL_VK_ESCAPE    = 0x1B,

    AL_VK_SPACE     = 0x20,
    AL_VK_PAGEUP    = 0x21,
    AL_VK_PAGEDOWN  = 0x22,

    AL_VK_LEFT      = 0x25,
    AL_VK_UP        = 0x26,
    AL_VK_RIGHT     = 0x27,
    AL_VK_DOWN      = 0x28,
    AL_VK_INSERT    = 0x2D,
    AL_VK_DELETE    = 0x2E,

    AL_VK_0         = 0x30,
    AL_VK_1         = 0x31,
    AL_VK_2         = 0x32,
    AL_VK_3         = 0x33,
    AL_VK_4         = 0x34,
    AL_VK_5         = 0x35,
    AL_VK_6         = 0x36,
    AL_VK_7         = 0x37,
    AL_VK_8         = 0x38,
    AL_VK_9         = 0x39,
    AL_VK_A         = 0x41,
    AL_VK_B         = 0x42,
    AL_VK_C         = 0x43,
    AL_VK_D         = 0x44,
    AL_VK_E         = 0x45,
    AL_VK_F         = 0x46,
    AL_VK_G         = 0x47,
    AL_VK_H         = 0x48,
    AL_VK_I         = 0x49,
    AL_VK_J         = 0x4A,
    AL_VK_K         = 0x4B,
    AL_VK_L         = 0x4C,
    AL_VK_M         = 0x4D,
    AL_VK_N         = 0x4E,
    AL_VK_O         = 0x4F,
    AL_VK_P         = 0x50,
    AL_VK_Q         = 0x51,
    AL_VK_R         = 0x52,
    AL_VK_S         = 0x53,
    AL_VK_T         = 0x54,
    AL_VK_U         = 0x55,
    AL_VK_V         = 0x56,
    AL_VK_W         = 0x57,
    AL_VK_X         = 0x58,
    AL_VK_Y         = 0x59,
    AL_VK_Z         = 0x5A,

    AL_VK_F1        = 0x70,
    AL_VK_F2        = 0x71,
    AL_VK_F3        = 0x72,
    AL_VK_F4        = 0x73,
    AL_VK_F5        = 0x74,
    AL_VK_F6        = 0x75,
    AL_VK_F7        = 0x76,
    AL_VK_F8        = 0x77,
    AL_VK_F9        = 0x78,
    AL_VK_F10       = 0x79,
    AL_VK_F11       = 0x7A,
    AL_VK_F12       = 0x7B,

    AL_VK_NUM       = 0xFF,
};

typedef VirtualKeyEvent KeyEvent;

}

#endif
